package com.zjw.core.other;

public class T {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("A");
        System.out.println("B");
        Thread thread = new Thread(){
            @Override
            public void run() {
                System.out.println("1");
                System.out.println("2");
            }
        };
        thread.start();
        Thread.sleep(10);
        System.out.println("C");
        System.out.println("D");
    }
}
